package cn.iocoder.yudao.module.digital.controller.admin.projects.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 项目分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class ProjectsPageReqVO extends PageParam {

    @Schema(description = "项目名字", example = "李四")
    private String name;

    @Schema(description = "项目类型", example = "1")
    private Integer type;

    @Schema(description = "主办方（字典）")
    private Integer organizer;

    @Schema(description = "主办方（不在字典里面）")
    private String organizerOther;

    @Schema(description = "级别（省级，国家级，校级）")
    private Integer level;

    @Schema(description = "第一作者，负责人")
    private String author;

    @Schema(description = "成员")
    private String member;

    @Schema(description = "贡献率")
    private String rate;

    @Schema(description = "立项时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] projectStartTime;

    @Schema(description = "结项时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] projectEndTime;

    @Schema(description = "状态", example = "2")
    private Integer status;

    @Schema(description = "佐证地址", example = "https://www.iocoder.cn")
    private List<String> evidenceUrl;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "备注", example = "你说的对")
    private String remark;

}